﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Första_meny
{
    public partial class Form1 : Form
    {

        private FormInputDialog fid = new FormInputDialog();
        
        public Form1()
        {
            InitializeComponent();
        }



        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (fid.ShowDialog() == DialogResult.OK)
            {
                
            }
        }
        private void skrivToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show(fid.data1.ToString(),"inmatat data",MessageBoxButtons.OK) == DialogResult.OK)
            {
                 
            }
        }

        private void avslutaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Really Quit?", "Exit", MessageBoxButtons.OKCancel) == DialogResult.OK)
            {
                Application.Exit();
            }


        }
    }
}
